class Dictionary:
    def __init__(self, dictionary):
        self.dictionary = dictionary

    def __call__(self, key):
        return self.dictionary[key]
    

code = []
while data := input():
   code.append(data)
code = "\n".join(code)
exec(code)